<template>
  <div class="right">
    <div class="top">
      <div class="bg">
        <ul class="bg-list">
          <li>
            <p class="bg-title">乡村</p>
            <p class="bg-title">清单</p>
          </li>
          <li class="title-item" style="margin-left: -85px">
            <div class="title-img">
              <img src="../../../assets/img/grovernance/edit.png" />
            </div>
            <div class="title-text" style="align-items: center">
              <div>
                <span style="font-size: 25px; color: #2f87e4">25 </span>项
              </div>
              <div style="margin-top: 20px; color: #2f87e4">直接办理事件</div>
            </div>
          </li>
          <li class="title-item">
            <div class="title-img">
              <img src="../../../assets/img/grovernance/edit2.png" />
            </div>
            <div class="title-text" style="align-items: center">
              <div>
                <span style="font-size: 25px; color: #cfbe58">11 </span>项
              </div>
              <div style="margin-top: 20px; color: #cfbe58">直接办理事件</div>
            </div>
          </li>
          <li class="title-item">
            <div class="title-img">
              <img src="../../../assets/img/grovernance/server.png" />
            </div>
            <div class="title-text" style="align-items: center">
              <div>
                <span style="font-size: 25px; color: #0be59f">39 </span>项
              </div>
              <div style="margin-top: 20px; color: #0be59f">代替办理事件</div>
            </div>
          </li>
        </ul>
      </div>
    </div>
    <div class="mid">
      <div class="title">
        <img
          src="../../../assets/img/grovernance/照相机.png"
          height="30px"
          alt=""
        />
        <span>随手拍事件</span>
      </div>
      <div class="btn">
        <span>时间：</span>
        <el-button type="primary" size="mini">年</el-button>
        <el-button type="success" size="mini">季度</el-button>
        <el-button type="warning" size="mini">月度</el-button>
        <span style="margin-left: 60px">状态：</span>
        <el-button type="primary" size="mini">已上报</el-button>
      </div>
      <div class="mid-content">
        <ul>
          <li class="mid-item">
            <span style="color: #35ace7">平均总数量</span>
            <span style="margin-top: 10px; font-size: 25px; color: #f3cf69"
              >125 <span style="font-size: 16px; color: #fff">件</span></span
            >
          </li>

          <li class="mid-item">
            <span style="color: #35ace7">平均总数量</span>
            <span style="margin-top: 10px; font-size: 25px; color: #f3cf69"
              >32 <span style="font-size: 16px; color: #fff">件</span></span
            >
          </li>
          <li class="mid-item" style="border: 0">
            <span style="color: #35ace7">平均总数量</span>
            <span style="margin-top: 10px; font-size: 25px; color: #f3cf69"
              >45 <span style="font-size: 16px; color: #fff">件</span></span
            >
          </li>
        </ul>
        <ul>
          <li class="mid-item">
            <span style="color: #35ace7">便民服务</span>
            <span style="margin-top: 10px; font-size: 25px; color: #f3cf69"
              >89 <span style="font-size: 16px; color: #fff">件</span></span
            >
          </li>

          <li class="mid-item">
            <span style="color: #35ace7">乡村文明</span>
            <span style="margin-top: 10px; font-size: 25px; color: #f3cf69"
              >45 <span style="font-size: 16px; color: #fff">件</span></span
            >
          </li>
          <li class="mid-item" style="border: 0">
            <span style="color: #35ace7">矛盾纠纷</span>
            <span style="margin-top: 10px; font-size: 25px; color: #f3cf69"
              >32 <span style="font-size: 16px; color: #fff">件</span></span
            >
          </li>
        </ul>
      </div>
    </div>
    <div class="bottom">
      <div class="title">
        <img
          src="../../../assets/img/grovernance/farmer.png"
          height="30px"
          alt=""
        />
        <span>农产品销售前十</span>
      </div>
      <div class="bottom-list">
        <ul>
          <li class="bottom-list-item">
            <div class="num">1</div>
            <img
              src="../../../assets/img/grovernance/apple.png"
              height="28px"
            />
            <span class="item-text"
              >苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果</span
            >
            <span style="margin-left: 50px">214</span>
          </li>
          <li class="bottom-list-item">
            <div class="num">1</div>
            <img
              src="../../../assets/img/grovernance/apple.png"
              height="28px"
            />
            <span class="item-text"
              >苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果</span
            >
            <span style="margin-left: 50px">214</span>
          </li>
          <li class="bottom-list-item">
            <div class="num">2</div>
            <img
              src="../../../assets/img/grovernance/apple.png"
              height="28px"
            />
            <span class="item-text"
              >苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果</span
            >
            <span style="margin-left: 50px">214</span>
          </li>
          <li class="bottom-list-item">
            <div class="num">3</div>
            <img
              src="../../../assets/img/grovernance/apple.png"
              height="28px"
            />
            <span class="item-text"
              >苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果</span
            >
            <span style="margin-left: 50px">214</span>
          </li>
          <li class="bottom-list-item">
            <div class="num">4</div>
            <img
              src="../../../assets/img/grovernance/apple.png"
              height="28px"
            />
            <span class="item-text"
              >苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果</span
            >
            <span style="margin-left: 50px">214</span>
          </li>
          <li class="bottom-list-item">
            <div class="num">5</div>
            <img
              src="../../../assets/img/grovernance/apple.png"
              height="28px"
            />
            <span class="item-text"
              >苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果</span
            >
            <span style="margin-left: 50px">214</span>
          </li>
          <li class="bottom-list-item">
            <div class="num">6</div>
            <img
              src="../../../assets/img/grovernance/apple.png"
              height="28px"
            />
            <span class="item-text"
              >苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果</span
            >
            <span style="margin-left: 50px">214</span>
          </li>
          <li class="bottom-list-item">
            <div class="num">7</div>
            <img
              src="../../../assets/img/grovernance/apple.png"
              height="28px"
            />
            <span class="item-text"
              >苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果</span
            >
            <span style="margin-left: 50px">214</span>
          </li>
          <li class="bottom-list-item">
            <div class="num">8</div>
            <img
              src="../../../assets/img/grovernance/apple.png"
              height="28px"
            />
            <span class="item-text"
              >苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果苹果</span
            >
            <span style="margin-left: 50px">214</span>
          </li>
        </ul>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "GovernRight",
};
</script>

<style lang="scss" scoped>
.item-text {
  width: 380px;
  margin-left: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
}
.bottom-list-item {
  display: flex;
  align-items: center;
}
.num {
  background-color: #03316c;
  margin-top: 7px;
  margin-right: 25px;
  text-align: center;
  height: 25px;
  line-height: 25px;
  width: 25px;
  font-weight: bold;
}
.bottom-list {
  ul {
    margin: 20px auto;
    height: 400px;
  }
  li {
    padding-left: 20px;
    height: 45px;
    line-height: 45px;

    background-color: #061748;
    border-bottom: 1px solid #afafaf;
  }
}
.mid-item {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.mid-content {
  ul {
    margin: 20px auto;
    height: 90px;
    width: 500px;
    background-color: #09306b;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    li {
      width: 300px;
      border-right: 1px solid #afafaf;
    }
  }
}
.btn {
  margin-top: 20px;
}
.title {
  height: 40px;
  display: flex;
  justify-content: start;
  align-items: center;
  // line-height: 30px;
  padding: 10px;
  background: linear-gradient(90deg, #288ad6 0%, #09306c 100%);
  span {
    margin-left: 10px;
    font-size: 22px;
    color: #dcd58a;
    font-weight: bold;
  }
}
.mid {
  margin-top: 30px;
}
.title-item {
  display: flex;
  align-items: center;
  .title-text {
    margin-left: 20px;
  }
}
.right {
  flex: 35%;
  margin-left: 20px;
}
.bg-list {
  display: flex;
  padding-left: 30px;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  li {
    width: 33%;
    margin: auto 0;
  }
  .bg-title {
    font-size: 20px;
    margin-top: 10px;
    color: #f7d076;
  }
}
.top {
  .bg {
    height: 120px;
    background: linear-gradient(to right, #09306c, #040e35);
  }
}
</style>
